<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditDeviceDeploy.ascx.cs" Inherits="gygac.Modules.DeviceDeploy.EditDeviceDeploy" %>
<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<%@ Register TagPrefix="dnn" TagName="Audit" Src="~/controls/ModuleAuditControl.ascx" %>

<script src="<%=ResolveUrl("~/Resources/Shared/scripts/datepicker/WdatePicker.js")%>" type="text/javascript"></script>
<table width="650" cellspacing="5" cellpadding="0" border="0" summary="Edit Table">
	<tr valign="top">
		<td class="SubHead" width="125" align ="right">&nbsp;</td>
		<td>
			&nbsp;</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblDeviceName" runat="server" controlname="txtDeviceName" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtDeviceName" runat="server" />
			<asp:RequiredFieldValidator ID="valDeviceName" resourcekey="valContent.ErrorMessage" ControlToValidate="txtDeviceName"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblBorrower" runat="server" controlname="txtBorrower" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtBorrower" runat="server" />
			<asp:RequiredFieldValidator ID="valBorrower" resourcekey="valContent.ErrorMessage" ControlToValidate="txtBorrower"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblLender" runat="server" controlname="txtLender" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox ID="txtLender" runat="server"></asp:TextBox>
			<asp:RequiredFieldValidator ID="valLender" resourcekey="valContent.ErrorMessage" ControlToValidate="txtLender"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblLendDate" runat="server" controlname="txtLendDate" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtLendDate" runat="server" AutoPostBack="True"  onClick="WdatePicker()"/>
			<asp:RequiredFieldValidator ID="valLendDate" resourcekey="valContent.ErrorMessage" ControlToValidate="txtLendDate"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		    
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblEstimated" runat="server" controlname="txtEstimated" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtEstimated" runat="server" onClick="WdatePicker()"/>
			<asp:RequiredFieldValidator ID="valEstimated" resourcekey="valContent.ErrorMessage" ControlToValidate="txtEstimated"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
           
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblIsReturned" runat="server" controlname="txtIsReturned" suffix=":"></dnn:Label></td>
		<td>
			<asp:CheckBox ID="chkIsReturned" runat="server" resourcekey="IsReturned" 
                AutoPostBack="True" oncheckedchanged="chkIsReturned_CheckedChanged" />
			
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblReturnDate" runat="server" controlname="txtReturnDate" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtReturnDate" runat="server" onClick="WdatePicker()" />
			
			 
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblEMail" runat="server" controlname="txtEMail" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtEMail" runat="server" />
			<asp:RequiredFieldValidator ID="valEMail" resourcekey="valContent.ErrorMessage" ControlToValidate="txtEMail"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblCreatedByUser" runat="server" controlname="txtCreatedByUser" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtCreatedByUser" runat="server" />
			<asp:RequiredFieldValidator ID="valCreatedByUser" resourcekey="valContent.ErrorMessage" ControlToValidate="txtCreatedByUser"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
	<tr valign="top">
		<td class="SubHead" width="125" align ="right"><dnn:Label id="lblRemark" runat="server" controlname="txtRemark" suffix=":"></dnn:Label></td>
		<td>
			<asp:TextBox id="txtRemark" runat="server" />
			<asp:RequiredFieldValidator ID="valRemark" resourcekey="valContent.ErrorMessage" ControlToValidate="txtRemark"
				CssClass="NormalRed" Display="Dynamic" ErrorMessage="<br>Content is required" Runat="server" />
		</td>
	</tr>
</table>
<p>
    <asp:linkbutton cssclass="CommandButton" id="cmdUpdate" resourcekey="cmdUpdate" runat="server" borderstyle="none" text="Update" OnClick="cmdUpdate_Click"></asp:linkbutton>&nbsp;
    <asp:linkbutton cssclass="CommandButton" id="cmdCancel" resourcekey="cmdCancel" runat="server" borderstyle="none" text="Cancel" causesvalidation="False" OnClick="cmdCancel_Click"></asp:linkbutton>&nbsp;
    <asp:linkbutton cssclass="CommandButton" id="cmdDelete" resourcekey="cmdDelete" runat="server" borderstyle="none" text="Delete" causesvalidation="False" OnClick="cmdDelete_Click"></asp:linkbutton>&nbsp;
</p>
<dnn:Audit id="ctlAudit" runat="server" />
